import { createRouter, createWebHashHistory } from "vue-router";

const routes = [
    {
        path: '/',
        name: 'home',
        component: () => import("../pages/home/index.vue")
    },
    {
        path: '/cart',
        name: 'cart',
        component: () => import("../pages/cart/index.vue")
    },
    {
        path: '/list',
        name: 'list',
        component: () => import("../pages/list/index.vue")
    },
    {
        path: '/user',
        name: 'user',
        component: () => import("../pages/user/index.vue")
    },

]
const router = createRouter({
    history: createWebHashHistory(),
    routes,
});

export default router;